﻿using System;
namespace Catering_Model
{
	/// <summary>
	/// Personnel:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class E_Personnel
	{
		public E_Personnel()
		{}
        #region Model
        private int _id;
        private string _name;
        private string _sex;
        private DateTime? _old;
        private string _no;
        private string _placeoforigin;
        private string _education;
        private string _professional;
        private string _title;
        private string _politicalaffiliation;
        private string _qq;
        private int? _serviceunitid;
        private string _tel;
        private string _email;
        private string _add;
        private int _classid;
        private int? _ptid;
        private int? _cid;
        private int _pid;
        private int? _eatid;
        private int? _isworking;
        private string _back;
        private DateTime? _entrytime;
        private string _tracknum;
        private string _healthyno;
        private string _epreventionno;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Old
        {
            set { _old = value; }
            get { return _old; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string No
        {
            set { _no = value; }
            get { return _no; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Placeoforigin
        {
            set { _placeoforigin = value; }
            get { return _placeoforigin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Education
        {
            set { _education = value; }
            get { return _education; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Professional
        {
            set { _professional = value; }
            get { return _professional; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Politicalaffiliation
        {
            set { _politicalaffiliation = value; }
            get { return _politicalaffiliation; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string QQ
        {
            set { _qq = value; }
            get { return _qq; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ServiceUnitID
        {
            set { _serviceunitid = value; }
            get { return _serviceunitid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Tel
        {
            set { _tel = value; }
            get { return _tel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ADD
        {
            set { _add = value; }
            get { return _add; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ClassID
        {
            set { _classid = value; }
            get { return _classid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PTID
        {
            set { _ptid = value; }
            get { return _ptid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? CID
        {
            set { _cid = value; }
            get { return _cid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PID
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? EatID
        {
            set { _eatid = value; }
            get { return _eatid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IsWorking
        {
            set { _isworking = value; }
            get { return _isworking; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string back
        {
            set { _back = value; }
            get { return _back; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? EntryTime
        {
            set { _entrytime = value; }
            get { return _entrytime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string TrackNum
        {
            set { _tracknum = value; }
            get { return _tracknum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HealthyNo
        {
            set { _healthyno = value; }
            get { return _healthyno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string EPreventionNo
        {
            set { _epreventionno = value; }
            get { return _epreventionno; }
        }
        #endregion Model

        #region 扩展属性
        /// <summary>
        /// 所属区域ID
        /// </summary>
        public int AreaID { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        #endregion

    }
}

